# Tanım: Vlc'den kütüphane
# URL: http://www.slackware.com/~alien/slackbuilds/vlc/
# Paketçi: milisarge
# Gerekler: libbluray opus qt5 x264 flac libmad glib librsvg alsa-lib xorg-libxinerama xorg-libxpm libvpx libcdio vcdimager live libdvdcss libdvdread libdvdnav libogg libtheora lame faac libvorbis ffmpeg faad2 liba52 libmpeg2 libmpcdec fribidi lua libdv speex
# Grup: kütüphane

isim=libvlc
surum=3.0.0
devir=20160606

kaynak=( http://anduin.linuxfromscratch.org/BLFS/vlc/vlc-$surum-$devir.tar.xz
         lua53_compat.patch)
	
derle() {

cd vlc-$surum-$devir

sed -i '/seems to be moved/s/^/#/' autotools/ltmain.sh

BUILDCC=gcc \
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --enable-bluray \
            --enable-opus \
            RCC=/usr/bin/rcc-qt5

make
make DESTDIR=$PKG install
rm -r $PKG/usr/{lib/vlc,share,bin}
}
